package com.pkdl.dto;

import java.sql.Timestamp;
import java.util.Date;

// Data transfer object which is associated with PhieuKham table in database
public class PhieuKhamDTO {

	private int maPhieuKham;
	private int maBenhNhan;
	private String maNguoiLapPhieu;
	private Date ngayKham;
	private String ketLuanChung;
	private Date ngayTaiKham;
	private String ghiChu;
	private Timestamp thoiDiemTiepNhan;
	private String tenNguoiLapPhieu;
	private String tenBenhNhan;

	public PhieuKhamDTO() {
		this.maPhieuKham = 0;
		this.maBenhNhan = 0;
		this.maNguoiLapPhieu = "";
		this.ngayKham = new Date();
		this.ketLuanChung = "";
		this.ngayTaiKham = new Date();
		this.ghiChu = "";
		this.thoiDiemTiepNhan = new Timestamp(new Date().getTime());
	}

	public PhieuKhamDTO(int maphieukham, int mabenhnhan,
			String manguoilapphieu, Date ngaykham, String ketluanchung,
			Date ngaytaikham, String ghichu, boolean benhnhanmoi,
			Timestamp thoidiemtiepnhan) {
		this.maPhieuKham = maphieukham;
		this.maBenhNhan = mabenhnhan;
		this.maNguoiLapPhieu = manguoilapphieu;
		this.ngayKham = ngaykham;
		this.ketLuanChung = ketluanchung;
		this.ngayTaiKham = ngaytaikham;
		this.ghiChu = ghichu;
		this.thoiDiemTiepNhan = thoidiemtiepnhan;
	}

	public String getGhiChu() {
		return this.ghiChu;
	}

	public String getKetLuanChung() {
		return this.ketLuanChung;
	}

	public int getMaBenhNhan() {
		return this.maBenhNhan;
	}

	public String getMaNguoiLapPhieu() {
		return this.maNguoiLapPhieu;
	}

	public int getMaPhieuKham() {
		return this.maPhieuKham;
	}

	public Date getNgayKham() {
		return this.ngayKham;
	}

	public Date getNgayTaiKham() {
		return this.ngayTaiKham;
	}

	public String getTenNguoiLapPhieu() {
		return this.tenNguoiLapPhieu;
	}

	public Timestamp getThoiDiemTiepNhan() {
		return this.thoiDiemTiepNhan;
	}

	public void setGhiChu(String ghiChu) {
		this.ghiChu = ghiChu;
	}

	public void setKetLuanChung(String ketLuanChung) {
		this.ketLuanChung = ketLuanChung;
	}

	public void setMaBenhNhan(int maBenhNhan) {
		this.maBenhNhan = maBenhNhan;
	}

	public void setMaNguoiLapPhieu(String maNguoiLapPhieu) {
		this.maNguoiLapPhieu = maNguoiLapPhieu;
	}

	public void setMaPhieuKham(int maPhieuKham) {
		this.maPhieuKham = maPhieuKham;
	}

	public void setNgayKham(Date ngayKham) {
		this.ngayKham = ngayKham;
	}

	public void setNgayTaiKham(Date ngayTaiKham) {
		this.ngayTaiKham = ngayTaiKham;
	}

	public void setTenNguoiLapPhieu(String tenNguoiLapPhieu) {
		this.tenNguoiLapPhieu = tenNguoiLapPhieu;
	}

	public void setThoiDiemTiepNhan(Timestamp thoiDiemTiepNhan) {
		this.thoiDiemTiepNhan = thoiDiemTiepNhan;
	}

	public String getTenBenhNhan() {
		return tenBenhNhan;
	}

	public void setTenBenhNhan(String tenBenhNhan) {
		this.tenBenhNhan = tenBenhNhan;
	}

}
